/* 
 * File:   DataConn.h
 * Author: batista
 *
 * Created on 20 de Fevereiro de 2013, 12:08
 */

#ifndef DATACONN_H
#define	DATACONN_H
#include <iostream>


using namespace std;
using std::string;

class DataConn {
public:
    DataConn();
    //
    virtual ~DataConn();
    //

    string GetDatabase() const {
        return database;
    }

    void SetDatabase(string database) {
        this->database = database;
    }

    string GetHostname() const {
        return hostname;
    }

    void SetHostname(string hostname) {
        this->hostname = hostname;
    }

    string GetPassword() const {
        return password;
    }

    void SetPassword(string password) {
        this->password = password;
    }

    string GetPort() const {
        return port;
    }

    void SetPort(string port) {
        this->port = port;
    }

    string GetUsername() const {
        return username;
    }

    void SetUsername(string username) {
        this->username = username;
    }

    //

private:
    string hostname;
    string database;
    string port;
    string username;
    string password;
};

#endif	/* DATACONN_H */

